<template>
  <el-row class="tac">
    <el-col :span="24">
      <el-menu
        default-active="2"
        class="el-menu-vertical-demo"
        @open="handleOpen"
        @close="handleClose"
        background-color="#545c64"
        text-color="#fff"
        active-text-color="#ffd04b">

        <el-submenu index="3">
          <template slot="title">
            <span>文件库</span>
          </template>
          <el-menu-item-group>
            <el-menu-item index="3-1">国家文件</el-menu-item>
            <el-menu-item index="3-2">省级文件</el-menu-item>
            <el-submenu index="3-3">
              <template slot="title">
                <span>高校文件</span>
              </template>
              <el-menu-item-group>
                <el-submenu index="3-3-1">
                  <template slot="title">
                    <span>学校层面权力运行制度</span>
                  </template>
                  <el-menu-item-group>
                    <el-menu-item index="3-3-1-1">学术委员会规程</el-menu-item>
                    <el-menu-item index="3-3-1-2">民主管理制度</el-menu-item>
                    <el-menu-item index="3-3-1-3">其他规范性制度</el-menu-item>
                  </el-menu-item-group>
                </el-submenu>
              </el-menu-item-group>
              <el-submenu index="3-3-2">
                <template slot="title">
                  <span>
                    职能部门权力运行制度
                  </span>
                </template>
                <el-menu-item-group>
                  <el-menu-item index="3-3-2-1">人事制度</el-menu-item>
                  <el-menu-item index="3-3-2-2">财务制度</el-menu-item>
                  <el-menu-item index="3-3-2-3">招生制度</el-menu-item>
                </el-menu-item-group>
              </el-submenu>
              <el-menu-item index="3-3-3">学院层面权力运行制度</el-menu-item>
            </el-submenu>
          </el-menu-item-group>
        </el-submenu>

      </el-menu>
    </el-col>
  </el-row>
</template>

<script>
  export default {
    name: "Left_three",
    methods: {
      handleOpen(key, keyPath) {
        console.log(key, keyPath);
      },
      handleClose(key, keyPath) {
        console.log(key, keyPath);
      }
    }
  }
</script>

<style scoped>

</style>
